home *** CD-ROM | disk | FTP | other *** search
/ Draw 3 / Draw 3.iso / AOL90 / COMP02.000 / %MAINDIR% / CalendarResource.dll / HTML / IDH_ACTOPTABSFRAME < prev    next >
Encoding:
Text File  |  2004-11-29  |  2.8 KB  |  112 lines

  1. <HTML>
  2. <STYLE>
  3.  
  4. BODY
  5. {
  6.     background-color: #D8E9F5;
  7.     margin:                0;
  8. }
  9.  
  10. </STYLE>
  11. <HEAD>
  12. <SCRIPT LANGUAGE=JSCRIPT>
  13.  
  14.     function DoOnLoad()
  15.     {
  16.         window.external.TopTabsFrameLoaded();
  17.     }
  18.  
  19.     function ScriptSetTabButtonsForED(bShowButtonForED)    // don't modify this function name, it is being called from C++ using execScript()
  20.     {
  21.     /*    if(true == bShowButtonForED)
  22.         {
  23.             // set the right image on top...
  24.             imgMyCalTab.src = "res:IDG_ACMyCalTabUnselected";
  25.             imgEvDirTab.src = "res:IDG_ACEvDirTabSelected";
  26.  
  27.             // update cursors
  28.             imgEvDirTab.style.cursor = 'default';
  29.             imgMyCalTab.style.cursor = 'hand';
  30.  
  31.             // update flyovers...
  32.             imgEvDirTab.title = "";
  33.             imgMyCalTab.title = "Show My Calendar";
  34.  
  35.             // update event handlers...
  36.             imgEvDirTab.onclick = null;
  37.             imgMyCalTab.onclick = SyncAndShowMyCalendar;
  38.         }
  39.         else
  40.         {
  41.             // set the right image on top...
  42.             imgMyCalTab.src = "res:IDG_ACMyCalTabSelected";
  43.             imgEvDirTab.src = "res:IDG_ACEvDirTabUnselected";
  44.  
  45.             // update cursors
  46.             imgEvDirTab.style.cursor = 'hand';
  47.             imgMyCalTab.style.cursor = 'default';
  48.  
  49.             // update flyovers...
  50.             imgEvDirTab.title = "Show the Event Directory";
  51.             imgMyCalTab.title = "";
  52.  
  53.             // update event handlers...
  54.             imgEvDirTab.onclick = ShowEventDirectory;
  55.             imgMyCalTab.onclick = null;
  56.         } */
  57.     }
  58.  
  59.     function ShowEventDirectory()
  60.     {
  61.     /*    if (! window.external.InternetConnectionIsOpen() )
  62.         {
  63.             window.external.DoUserSignOn( "EventDirectory" );
  64.             return;
  65.         }
  66.         window.external.ShowEventDirectory(); */
  67.     }
  68.  
  69.     function SyncAndShowMyCalendar()
  70.     {
  71.         // set the right control to be visible...
  72.     //    window.external.SyncAndShowMyCalendar();        
  73.     }
  74.  
  75. </SCRIPT>
  76. </HEAD>
  77.  
  78.  
  79. <!-- Use onmousemove on BODY tag to prevent spurious dragging
  80.      (see bug 385860)  -->
  81. <BODY onload="DoOnLoad();" onmousemove="return false"
  82.     oncontextmenu="window.event.returnValue = false;">
  83.  
  84.     <!-- Set tabs to front of z-order to allow signed-on gif to slide behind
  85.          them when window is made narrow -->
  86.  
  87. <!--    <img ID="imgMyCalTab" src="res:IDG_ACMyCalTabSelected" title=""
  88.         style="position:absolute; left:0; top:0;"
  89.         style="z-index:100;"
  90.         style="cursor:default;"
  91.         >
  92.  
  93.     <img ID="imgEvDirTab" src="res:IDG_ACEvDirTabUnselected"
  94.         title="Show the Event Directory"
  95.         style="position:absolute; left:125; top:0;"
  96.         style="z-index:100;"
  97.         style="cursor:hand;"
  98.         onclick="ShowEventDirectory()"
  99.         >
  100.  
  101.     <img ID="imgSignOnStatus" align=right
  102.         style="z-index: 0;"
  103.         src="res:IDG_ACSignedOff"> -->
  104.  
  105.     <!-- Draw a border across the bottom of the frame, behind the tabs
  106.          but in front of the GIF -->
  107. <!--    <div style="position:absolute; border-top:1px solid black; top:25; left:0; z-index:10;"
  108.          style="width:expression(document.body.clientWidth - 10);"></div> -->
  109. -->
  110. </BODY>
  111. </HTML>
  112.